Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to Terraform 0.12 #10

Closed
wants to merge 1 commit into from
Closed

Upgrade to Terraform 0.12 #10

wants to merge 1 commit into from

Conversation

joshmyers
Copy link
Contributor

what

Run terraform 0.12upgrade against codebase. Note that due to Terraform
0.12 now using sets, we call tolist to workaround [1]

[1] hashicorp/terraform-provider-aws#7522

testing

I have tested this using Terraform 0.12.6

Run `terraform 0.12upgrade` against codebase. Note that due to Terraform
0.12 now using sets, we call `tolist` to workaround [1]

[1] hashicorp/terraform-provider-aws#7522
description = "List of parameters to read from SSM. These must already exist otherwise an error is returned. Can be used with `parameter_write` as long as the parameters are different."
default = []
}

variable "parameter_write" {
type = "list"
type = list(string)

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

shouldn't this be a list(map(string))?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

yep I agree - after upgrading this mod to 0.12 and changing var "parameter_write" to type list(map(string)) this module works like a charm so far on 0.12.19

@rsrchboy
Copy link

poke

@maximmi
Copy link
Contributor

maximmi commented Feb 28, 2020

@joshmyers this one is included in #12

@maximmi maximmi closed this Feb 28, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants